	<#if orders?? && orders?size gt 0>
	<#list orders as item>
	<div class="order-view-wapper order-view-list order-list">
		<ul>
			<li class="order-view-title">
				<div class="order-view-no">订单号：${(item.code)!""}</div>
			</li>
			<li class="order-view-detail clear">
				<div class="order-view-summary">
					<p>状态：<span id="status_${item.id}">${(item.statusName)!""}</span></p>
					<p>总价：&yen;${(item.amountTotal)?string("0.00")}</p>
					<p>时间：<#if item.orderTime?exists>${(item.orderTime)?string("yyyy-MM-dd HH:mm:ss")}<#else>--</#if></p>
				</div>
				<div class="order-view-op" id="op_${item.id}">
					<!-- 根据不同状态显示不同按钮，此处js和详情页共用 -->
				 	<#if item.status == 2>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="SENT" op="SEND" >发货</div>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="REFUND_APPLY" op="REFUND" >退款</div>
				 	<#elseif item.status==3>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="COMPLETED" op="COMPLETE" >完成</div>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="REFUND_GOODS" op="REFUND_GOODS" >退货</div>
				 	<#elseif item.status==7>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="REFUNDING" op="AUDIT_REFUND" >同意</div>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="REFUND_FAIL" op="AUDIT_REFUND" >拒绝</div>
				 	<#elseif item.status==8>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="REFUNDED" op="RIMIT" >打款</div>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="REFUND_FAIL" op="COMPLETE" >拒绝</div>
				 	<#elseif item.status==11>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="REFUNDING_GOODS" op="AUDIT_REFUND_GOODS" >同意</div>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="REFUND_GOODS_FAIL" op="AUDIT_REFUND_GOODS" >拒绝</div>
				 	<#elseif item.status==12>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="REFUND_APPLY" op="REFUND" >退款</div>
				 	<div class="btn-border-white" orderId=${item.id} nextStatus="REFUND_GOODS_FAIL" op="COMPLETE" >拒绝</div>
				 	</#if>
				</div>
			</li>
			<li  class="order-view-prod clear">
				<#if item.orderWares?? && item.orderWares?size gt 1>
				<ul name="showWares" oid="${(item.id)!0}" >
			 		<li class="clear" style="text-align:center;padding-bottom:15px;">查看订单商品详情</li>
				</ul>
				<ul style="display: none;visibility:hidden;" id="wares_${(item.id)!0}">
					<#list item.orderWares as ow>
					<li class="clear">
						<a href="/ware/${(ow.wareId)!""}.html">
							<div class="sett-list-img"><img src="${(ow.imageMain)!""}" alt="${(ow.wareName)!""}"/></div>
							<div class="sett-list-info">
								<div>${(ow.wareName)!""}</div>
								<div>x ${(ow.number)!0} = ${(ow.amountTotal)?string(0.00)}元</div>
							</div>
						</a>
					</li>
					</#list>
				</ul>
				<#else>
				<ul>
				<#list item.orderWares as ow>
					<li class="clear">
						<a href="/ware/${(ow.wareId)!""}.html">
							<div class="sett-list-img"><img src="${(ow.imageMain)!""}" alt="${(ow.wareName)!""}"/></div>
							<div class="sett-list-info">
								<div>${(ow.wareName)!""}</div>
								<div>x ${(ow.number)!0} = ${(ow.amountTotal)?string(0.00)}元</div>
							</div>
						</a>
					</li>
					</#list>
				</ul>
			</#if>
			</li>
		</ul>
	</div>
	</#list>
	</#if>